package org.jeecg.modules.finance.api;

import io.swagger.annotations.ApiOperation;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.finance.api.fallback.JeecgFinanceFallback;
import org.jeecg.modules.finance.entity.WlhyFreightSettlement;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "jeecg-finance", fallbackFactory = JeecgFinanceFallback.class)
public interface JeecgFinanceApi {
    @ApiOperation(value="运费结算-添加", notes="运费结算-添加")
    @PostMapping(value = "/fwaybill-api/wlhyFreightSettlement/addFreightSettlement")
    public Result<String> addFreightSettlement(@RequestBody WlhyFreightSettlement wlhyFreightSettlement);

}
